package indi.zhifa.study2025.oa.admin.facade.dep;

import indi.zhifa.study2025.oa.model.expose.dep.dto.DepCreateDto;
import indi.zhifa.study2025.oa.model.expose.dep.dto.DepEditDto;
import indi.zhifa.study2025.oa.model.expose.dep.vo.DepTreeNode;
import indi.zhifa.study2025.oa.model.expose.dep.vo.DepVo;

public interface IDepFacade {

    DepVo addDep(Long pParentId, DepCreateDto pDepCreateDto);
    DepVo editDep(Long pId, DepEditDto pDepEditDto);
    DepVo delete(Long pId);
    DepTreeNode getTreeNode(Long pId);
    DepVo info(Long pId);
}
